﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucMainMenu.ascx.cs"
    Inherits="TTMarketing.CameraUserControl.MainMenu.ucMainMenu" %>
<div class="menu">
    <ul>
        <li class="item">
            <div class="camera-menu-item">
                <a href="/trang-chu.aspx" tabindex="1" title="Trang Chủ">Trang Chủ</a>
            </div>
        </li>
        <li class="item">
            <div class="camera-menu-item">
                <a href="/gioi-thieu.aspx" tabindex="2" title="Giới Thiệu">Giới Thiệu</a>
            </div>
        </li>
        <li class="item">
            <div class="camera-menu-item">
                <a href="/tin-tuc.aspx" tabindex="3" title="Tin Tức">Tin Tức</a>
            </div>
            <ul>
                <% TTBusiness.ClassDB.clsBSCateNews objC = new TTBusiness.ClassDB.clsBSCateNews();
                   foreach (var item in objC.getByTypeAndStatus(6, true))
                   {
                %>
                <li><a href='/tin-tuc.aspx?cateid=<%=item.ID %>' tabindex="2">
                    <%=item.Name %></a> </li>
                <%
}
                %>
            </ul>
        </li>
        <li class="item">
            <div class="camera-menu-item">
                <a href="/dich-vu.aspx" tabindex="4" title="DịchVụ">Dịch vụ</a>
            </div>
            <ul>
                <%
                    TTBusiness.ClassDB.clsBSNews objN = new TTBusiness.ClassDB.clsBSNews();
                    foreach (var item in objN.getByType(8, true))
                    {
                %>
                <li><a href='/dich-vu.aspx?id=<%=item.ID %>' tabindex="2">
                    <%=item.Title %></a> </li>
                <%
}
                %>
            </ul>
        </li>
        <li class="item">
            <div class="camera-menu-item">
                <a href="/huong-dan.aspx" tabindex="5" title="Hướng Dẫn">Hướng Dẫn</a>
            </div>
            <ul>
                <%
                    foreach (var item in objN.getByType(9, true))
                    {
                %>
                <li><a href='/huong-dan.aspx?id=<%=item.ID %>' tabindex="2">
                    <%=item.Title %></a> </li>
                <%
                    }
                %>
            </ul>
        </li>
        <li class="item">
            <div class="camera-menu-item">
                <a href="/lien-he.aspx" tabindex="6" title="Liên hệ">Liên hệ</a>
            </div>
        </li>
    </ul>
</div>
